package com.achang.achangmall.product.feign;

import com.achang.common.to.SkuReductionTo;
import com.achang.common.to.SpuBoundTo;
import com.achang.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/******
 @author 阿昌
 @create 2021-09-29 21:25
 *******
 */
@FeignClient("achangmall-coupon")
public interface CouponFeignService {

    @PostMapping("/coupon/spubounds/save")
    R saveSpuBounds(@RequestBody SpuBoundTo spuBoundTo);

    @PostMapping("/coupon/skufullreduction/saveinfo")
    R saveSpuReduction(@RequestBody SkuReductionTo skuReductionTo);
}
